package src.com.doit.Demo07;

public class test {
    public static void main(String[] args) {
        //具体类多态
        Fu Fz = new Zi();
        Fz.show();

        //抽象类多态
        Person p = new Student();
        p.show();

        //接口多态
        MyInterface my = new Myclass();
        my.show();
    }

}
